<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <meta property="og:title" content="">
    <!-- 分享描述 通常2-4句-->
    <meta property="og:description" content="">
    <!-- 网站名字-->
    <meta property="og:site_name" content="">
    <!-- 分享插图-->
    <meta property="og:image" content="">
    <!-- 分享链接-->
    <meta property="og:url" content="">
    <!-- facebook user id 可以多个-->
    <meta property="fb:admins" content="">
    <!-- facebook app id 统计facetook引流-->
    <meta property="fb:app_id" content="1634108950233660">
    <!-- 分享媒体类型 决定在facebook feed流中的展现形式 默认为website article vine-app:video-->
    <meta property="og:type" content="article">
    <link rel="icon" type="image/png" href="../img/icon.png" sizes="32x32" />
    <link rel="stylesheet" href="../css/css.css" type="text/css"/>
    <title>Virally.video</title>
    <style>
        #video .video_play_name{
           display: block!important;
            text-align: center;
        }
        #video .video_play{
            background: #fff;
        }
        #video .back{
             background: url("../img/back_black.png") no-repeat center center;
             background-size: 19px;
         }
    </style>
</head>
<body>
<div id="video">
    <div class="video_play" style="height: auto">

    </div>
    <div class="video_list">

    </div>
</div>
</body>
<script type="text/html" id="detail_media">
    <div class="video_play_peo_headImg">
        <img src="<%=media_avatar_url%>"/>
    </div>
    <h5 class="title"><%=name%></h5>
    <p class="info" ><%=signature%></p>
    <div class="back"></div>
    <div class="follow">關注</div>
</script>
<script type="text/html" id="list_media">
    <div class="video_play_content" style="border-bottom: 1px solid #e7e7e7"></div>
    <ul>
        <%for(var i=0;i<data.length;i++){%>
        <li _id="<%=data[i]._id%>">
            <div class="video_list_img" style="background:#ccc url('<%=data[i].image_url%>') no-repeat center center;background-size: cover;">
                <p class="time"><%=data[i].video_duration_str%></p>
            </div>
            <div class="li_left">
                <h5><%=data[i].title%></h5>
                <p><%=data[i].video_play_count%>次播放</p>
            </div>
        </li>
        <%}%>
    </ul>
</script>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/template-native.js"></script>
<script type="text/javascript" src="../js/detail.js"></script>
</html>
